package com.zbl.zblproject.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author youlanqiang
 * @version 1.0
 * @date 2019/9/27
 */
@TableName("china")
public class China {

    private int Id;
    private String Name;
    private int Pid;




    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public String getName() {
        return Name;
    }

    @Override
    public String toString() {
        return "China{" +
                "Id=" + Id +
                ", Name='" + Name + '\'' +
                ", Pid=" + Pid +
                '}';
    }

    public void setName(String name) {
        Name = name;
    }

    public int getPid() {
        return Pid;
    }

    public void setPid(int pid) {
        Pid = pid;
    }

    public China(int id, String name, int pid) {
        Id = id;
        Name = name;
        Pid = pid;
    }
}
